package ch04.d4;

public  class C extends B{

    static {
        System.out.println("子类的静态属性块");
    }

    String s;
    {
        s="abc";
    }
    String s2;

    {
        s2="abc";
        for (int i = 0; i < 10; i++) {

        }
    }
    C(){
        System.out.println("子类的构造方法");
    }

}

